package com.xiaoming.mojbackendjudgeservice.controller;

import com.xiaoming.mojbackendjudgeservice.JudgeService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

@RestController
@RequestMapping("/inner")
public class judgeInnerController {
    @Resource
    private JudgeService judgeService;
    @PutMapping()
    public void doJudge(@RequestParam("questionSubmitId") Long questionSubmitId)
    {
        judgeService.doJudge(questionSubmitId);

    }
}
